export interface CreateOrUpdateUsersRequestData {
  id?: string | undefined
  name: string
  password?: string
  confirmPassword?: string
}

export interface GetUsersRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /** 查询参数：用户名 */
  name?: string
}

export interface GetUsersDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetUsersData {
  id: string
  name: string
  password: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetUsersData>

export type GetUsersResponseData = ApiResponseData<{
  list: GetUsersData[]
  total: number
  page: number
}>
